/* 问题容器样式 */

/* 添加全局CSS变量和基础样式 */
:root {
    --primary-color: #6366F1;
    --secondary-color: #818cf8;
    --text-primary: #1F2937;
    --text-secondary: #64748b;
    --card-background: #FFFFFF;
    --background-color: #EEF2FF;
    --gradient-start: #E0E7FF;
    --gradient-end: #EEF2FF;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
/* 报告页面整体样式 */

/* 报告头部样式 */
.report-header {
    text-align: center;
    margin-bottom: 3rem;
}

.report-header h1 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.personality-type {
    background: var(--card-background);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
    display: inline-block;
}

.type-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.type-code {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.type-name {
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* 性格维度分析整体样式优化 */
.dimension-analysis {
    background: var(--card-background);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    position: relative;
    overflow: hidden;
}

/* 添加装饰背景 */
.dimension-analysis::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.05) 50%);
    border-radius: 0 1rem 0 0;
}

.dimension-bars {
    position: relative;
    z-index: 1;
}

.dimension-item {
    margin-bottom: 2.5rem;
    position: relative;
    background: white;
    padding: 1.5rem 1.5rem 1.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.dimension-item:last-child {
    margin-bottom: 0;
}

.dimension-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.2rem;
    padding: 0 2rem;
}

.dimension-labels span {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.dimension-labels span:first-child {
    position: relative;
    padding-left: 20px;
}

.dimension-labels span:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
}

.dimension-bar {
    height: 10px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 5px;
    position: relative;
    margin: 0 2rem;
}

.bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.percentage {
    position: absolute;
    top: -35px;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
    z-index: 2;
    white-space: nowrap;
}

.percentage::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
}

/* 调整描述文本和图标的位置 */
.dimension-description {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 2rem;
    position: relative;
    padding-left: 3.2rem;
}

.dimension-description::before {
    /*content: '\f05a';*/
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 2rem;
    top: 0.2rem;
    color: var(--primary-color);
    opacity: 0.8;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* 动画效果 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dimension-item {
    animation: slideIn 0.6s ease-out;
    animation-fill-mode: both;
}

.dimension-item:nth-child(2) { animation-delay: 0.2s; }
.dimension-item:nth-child(3) { animation-delay: 0.4s; }
.dimension-item:nth-child(4) { animation-delay: 0.6s; }

/* 响应式优化 */
@media (max-width: 768px) {
    .dimension-analysis {
        padding: 1.5rem;
    }

    .dimension-item {
        padding: 1.2rem;
    }

    .dimension-labels {
        margin-bottom: 2rem;
    }

    .percentage {
        top: -32px;
    }

    .dimension-description {
        padding-left: 3rem;
        padding-right: 1.5rem;
    }

    .dimension-description::before {
        left: 1.8rem;
    }
}

@media (max-width: 480px) {
    .dimension-analysis {
        padding: 1.2rem;
    }

    .dimension-item {
        padding: 1rem;
    }

    .dimension-labels {
        margin-bottom: 1.8rem;
    }

    .percentage {
        top: -30px;
        font-size: 0.75rem;
        padding: 2px 6px;
    }

    .dimension-description {
        margin-top: 1.2rem;
        padding: 0 1rem 0 2.2rem;
        font-size: 0.85rem;
    }

    .dimension-description::before {
        left: 1rem;
        top: 0.15rem;
        font-size: 0.8rem;
        width: 14px;
    }
}

/* 更小屏幕的优化 */
@media (max-width: 375px) {
    .dimension-description {
        padding: 0 0.8rem 0 2rem;
        font-size: 0.8rem;
    }

    .dimension-description::before {
        left: 0.8rem;
        font-size: 0.75rem;
        width: 12px;
    }
}

/* 性格特征卡片样式 */
.trait-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.trait-card {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.trait-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.trait-card i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.trait-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.trait-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 职业建议样式 */
.career-advice {
    background: var(--card-background);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.career-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    border-radius: 0.8rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.career-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.career-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    display: block;
    width: 100%;
}

.career-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.career-content ul {
    list-style: none;
    padding: 0;
}

.career-content li {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

/* 按钮样式 */
.report-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.action-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.save-btn {
    background: #10B981;
}

.save-btn:hover {
    background: #059669;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .report-header h1 {
        font-size: 1.6rem;
    }

    .type-code {
        font-size: 2rem;
    }

    .type-name {
        font-size: 1rem;
    }

    .report-content > div {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .trait-cards {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        padding: 0 10px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .style-content,
    .relationship-content,
    .growth-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .career-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        width: 100% !important;
        justify-content: space-between !important;
    }

    .career-item {
        width: calc(50% - 6px) !important;
        flex: 0 0 calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .report-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .type-description {
        font-size: 0.95rem;
        padding: 0 1rem;
        margin: 1.2rem auto;
    }

    .trait-card {
        width: calc(50% - 6px) !important;
        flex: 0 0 calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
        margin: 0 !important;
        padding: 12px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .trait-card i {
        margin-bottom: 8px !important;
    }

    .trait-card h4 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
        width: 100% !important;
    }

    .trait-card p {
        font-size: 0.9rem !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .career-item {
        padding: 0.8rem;
    }

    .career-item i {
        font-size: 1.3rem;
    }

    .style-section li,
    .growth-item li {
        font-size: 0.9rem;
        margin: 0.6rem 0;
    }

    .action-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .dimension-labels {
        padding: 0 1.5rem;
    }

    .dimension-bar {
        margin: 0 1.5rem;
    }

    .dimension-description {
        padding: 0 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .trait-cards {
        gap: 10px !important;
        padding: 0 3px !important;
    }

    .career-grid {
        gap: 10px !important;
    }

    .career-item {
        width: calc(50% - 5px) !important;
        flex: 0 0 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
    }

    .trait-card {
        width: calc(50% - 5px) !important;
        flex: 0 0 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        padding: 10px !important;
    }
}

/* 横屏模式的优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .trait-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .style-content,
    .relationship-content,
    .growth-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 平板设备的优化 */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 1.5rem;
    }

    .trait-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 扩展报告内容样式 */
.report-content > div {
    background: var(--card-background);
    border-radius: 1rem;
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
}

/* 类型描述样式 */
.type-description {
    max-width: 600px;
    margin: 1.5rem auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 章节标题通用样式 */
.report-content h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.report-content h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 沟通方式样式 */
.style-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.style-section h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.style-section ul {
    list-style: none;
    padding: 0;
}

.style-section li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.5;
}

.style-section li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* 职业发展样式 */
.career-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
    justify-content: space-between !important;
}

.career-item {
    width: calc(50% - 5px) !important;
    flex: 0 0 calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    background: white;
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.career-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.career-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    display: block;
    width: 100%;
}

.career-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

/* 人际关系部分样式优化 */
.relationships {
    position: relative;
    overflow: hidden;
}

.relationships::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.8;
}

.relationship-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.relationship-section {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.relationship-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.relationship-section h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.relationship-section h4::before {
    content: '❖';
    color: var(--primary-color);
    font-size: 0.9rem;
}

.relationship-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.relationship-section li {
    margin: 1rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.relationship-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
}

.relationship-section li:hover::before {
    transform: scale(1.5);
    transition: transform 0.3s ease;
}

/* 添加图标 */
.relationship-section:first-child h4::before {
    content: '\f500';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.relationship-section:last-child h4::before {
    content: '\f4c4';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* 添加装饰元素 */
.relationship-section {
    position: relative;
}

.relationship-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.05) 50%);
    border-radius: 0 0 1rem 0;
}

/* 动画效果 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.relationship-section li {
    animation: slideInRight 0.5s ease-out;
    animation-fill-mode: both;
}

.relationship-section li:nth-child(2) { animation-delay: 0.1s; }
.relationship-section li:nth-child(3) { animation-delay: 0.2s; }
.relationship-section li:nth-child(4) { animation-delay: 0.3s; }

/* 个人成长建议样式 */
.growth-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.growth-item {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.growth-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.growth-item ul {
    list-style: none;
    padding: 0;
}

.growth-item li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.growth-item li::before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.report-content > div {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.report-content > div:nth-child(2) { animation-delay: 0.2s; }
.report-content > div:nth-child(3) { animation-delay: 0.4s; }
.report-content > div:nth-child(4) { animation-delay: 0.6s; }
.report-content > div:nth-child(5) { animation-delay: 0.8s; }

/* 性格类型概述美化 */
.personality-overview {
    position: relative;
    overflow: hidden;
}

.personality-overview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.7;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.overview-text {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.overview-text::before {
    content: '\f075';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
    text-align: center;
    line-height: 30px;
}

.type-strengths {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.type-strengths:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.type-strengths h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.type-strengths h4::before {
    content: '\f005';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.type-strengths ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-strengths li {
    margin: 0.8rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.type-strengths li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
}

.type-strengths li:hover::before {
    transform: scale(1.5);
    transition: transform 0.3s ease;
}

/* 人际关系美化增强 */
.relationships {
    position: relative;
    overflow: hidden;
}

.relationships::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.8;
}

.communication-style {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
}

.communication-style::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.05) 50%);
    border-radius: 0 0 0.8rem 0;
}

.communication-style h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.communication-style h4::before {
    content: '\f4ad';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.communication-style p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* 学习风格美化 */
.learning-style {
    position: relative;
    overflow: hidden;
}

.learning-style::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.05) 50%);
    border-radius: 0 1rem 0 0;
}

.learning-content {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.learning-overview {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
}

.learning-overview::before {
    content: '\f02d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
    text-align: center;
    line-height: 30px;
}

.learning-strengths,
.learning-tips {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.learning-strengths:hover,
.learning-tips:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

/* 情感管理美化 */
.emotional-management {
    position: relative;
    overflow: visible;
    background: var(--card-background);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

.emotional-management::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.07) 50%);
    border-radius: 0 1rem 0 0;
    z-index: 0;
}

.emotional-management h3 {
    position: relative;
    z-index: 5;
    margin-bottom: 1.8rem;
    color: var(--text-primary);
    font-weight: 600;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.emotional-management h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.emotional-content {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    width: 100%;
}

@media (min-width: 768px) {
    .emotional-content {
        grid-template-columns: 1fr 1fr;
    }
}

.emotional-style {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    background: white;
    border-radius: 0.8rem;
    padding: 2rem 1.8rem 1.8rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    grid-column: 1 / -1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.emotional-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.1);
}

.emotional-style::before {

    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.2);
    z-index: 3;
}

.emotional-strengths,
.emotional-tips {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    background: white;
    border-radius: 0.8rem;
    padding: 1.8rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.emotional-strengths:hover,
.emotional-tips:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.1);
}

.emotional-strengths h4,
.emotional-tips h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.emotional-strengths h4::after,
.emotional-tips h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.emotional-strengths ul,
.emotional-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.emotional-strengths li,
.emotional-tips li {
    margin: 1rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.emotional-strengths li::before,
.emotional-tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.emotional-strengths li:hover,
.emotional-tips li:hover {
    transform: translateX(5px);
}

.emotional-strengths li:hover::before,
.emotional-tips li:hover::before {
    transform: scale(1.5);
    background-color: var(--secondary-color);
}

/* 移动端优化 */
@media (max-width: 767px) {
    .emotional-management {
        padding: 1.5rem;
    }

    .emotional-style {
        padding: 1.8rem 1.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .emotional-strengths,
    .emotional-tips {
        padding: 1.5rem;
    }

    .emotional-strengths h4,
    .emotional-tips h4 {
        font-size: 1rem;
    }

    .emotional-strengths li,
    .emotional-tips li {
        font-size: 0.9rem;
    }
}

/* 决策风格美化 */
.decision-making {
    position: relative;
    overflow: hidden;
    background: var(--card-background);
    border-radius: 1rem;
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
}

.decision-making::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.05) 50%);
    border-radius: 0 1rem 0 0;
}

.decision-content {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.decision-style {
    padding-top: 1.5rem !important;
    margin-top: 0 !important;
    position: relative !important;
}

.decision-style::before,
.decision-content .decision-style::before,
div.decision-style::before {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* 创造力与创新美化 */
.creativity-innovation {
    position: relative;
    overflow: visible;
    padding-top: 2.5rem;
}

.creativity-content {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.creativity-innovation h3 {
    position: relative;
    z-index: 3;
    margin-bottom: 0;
}

.creativity-style {
    position: relative;
    z-index: 2;
    margin-top: 5px;
    width: 100%;
    box-sizing: border-box;
}

.creativity-strengths,
.creativity-tips {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.creativity-innovation::after {
    content: "";
    display: table;
    clear: both;
}

.learning-content,
.emotional-content,
.decision-content,
.leadership-content,
.teamwork-content,
.time-content {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    width: 100%;
}

/* 移动端优化 */
@media (max-width: 767px) {
    .creativity-innovation {
        padding-top: 2rem;
    }

    .creativity-content {
        margin-top: 8px;
    }

    .creativity-strengths,
    .creativity-tips {
        padding: 1.2rem;
    }
}

/* 领导风格美化 */
.leadership-style {
    position: relative;
    overflow: hidden;
    background: var(--card-background);
    border-radius: 1rem;
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
}

.leadership-style::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.05) 50%);
    border-radius: 0 1rem 0 0;
}

.leadership-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.leadership-style p {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
}

.leadership-style p::before {
    content: '\f521';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transform: translateY(0);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 团队合作美化 */
.teamwork {
    position: relative;
    overflow: hidden;
    background: var(--card-background);
    border-radius: 1rem;
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
}

.teamwork::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.05) 50%);
    border-radius: 0 1rem 0 0;
}

.teamwork-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.teamwork-style {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
}

.teamwork-style::before {
    content: '\f500';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

/* 时间管理美化 */
.time-management {
    position: relative;
    overflow: hidden;
    background: var(--card-background);
    border-radius: 1rem;
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
}

.time-management::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.05) 50%);
    border-radius: 0 1rem 0 0;
}

.time-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.time-style {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
}

.time-style::before {
    content: '\f43a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

/* 通用样式增强 */
.section h3 {
    position: relative;
    padding-bottom: 0.8rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.section h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.section h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 统一所有section容器的基础样式 */
.section {
    background: var(--card-background);
    border-radius: 1rem;
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: visible;
}

/* 统一所有section的装饰背景 */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.05) 50%);
    border-radius: 0 1rem 0 0;
    z-index: 0;
}

/* 统一所有标题样式 */
.section h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.section h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

/* 统一所有内容容器 */
.overview-content,
.learning-content,
.emotional-content,
.decision-content,
.creativity-content,
.leadership-content,
.teamwork-content,
.time-content {
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

/* 统一所有描述段落样式 */
.overview-text,
.learning-overview,
.emotional-style,
.decision-style,
.creativity-style,
.leadership-content p,
.teamwork-style,
.time-style {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
}

/* 统一所有卡片样式 */
.type-strengths,
.learning-strengths,
.learning-tips,
.emotional-strengths,
.emotional-tips,
.decision-strengths,
.decision-tips,
.creativity-strengths,
.creativity-tips,
.leadership-strengths,
.leadership-tips,
.teamwork-strengths,
.teamwork-tips,
.time-strengths,
.time-tips,
.growth-item,
.relationship-section {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 统一卡片悬停效果 */
.type-strengths:hover,
.learning-strengths:hover,
.learning-tips:hover,
.emotional-strengths:hover,
.emotional-tips:hover,
.decision-strengths:hover,
.decision-tips:hover,
.creativity-strengths:hover,
.creativity-tips:hover,
.leadership-strengths:hover,
.leadership-tips:hover,
.teamwork-strengths:hover,
.teamwork-tips:hover,
.time-strengths:hover,
.time-tips:hover,
.growth-item:hover,
.relationship-section:hover,
.trait-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

/* 统一所有卡片标题样式 */
.type-strengths h4,
.learning-strengths h4,
.learning-tips h4,
.emotional-strengths h4,
.emotional-tips h4,
.decision-strengths h4,
.decision-tips h4,
.creativity-strengths h4,
.creativity-tips h4,
.leadership-strengths h4,
.leadership-tips h4,
.teamwork-strengths h4,
.teamwork-tips h4,
.time-strengths h4,
.time-tips h4,
.growth-item h4,
.relationship-section h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.type-strengths h4::after,
.learning-strengths h4::after,
.learning-tips h4::after,
.emotional-strengths h4::after,
.emotional-tips h4::after,
.decision-strengths h4::after,
.decision-tips h4::after,
.creativity-strengths h4::after,
.creativity-tips h4::after,
.leadership-strengths h4::after,
.leadership-tips h4::after,
.teamwork-strengths h4::after,
.teamwork-tips h4::after,
.time-strengths h4::after,
.time-tips h4::after,
.growth-item h4::after,
.relationship-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 统一所有列表样式 */
.section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section li {
    margin: 0.8rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.section li:hover {
    transform: translateX(5px);
}

.section li:hover::before {
    transform: scale(1.5);
    background-color: var(--secondary-color);
}

/* 移除领导风格部分的图标 */
.leadership-content p::before {
    display: none;
}

/* 响应式布局 */
@media (min-width: 768px) {
    .overview-content,
    .learning-content,
    .emotional-content,
    .decision-content,
    .creativity-content,
    .leadership-content,
    .teamwork-content,
    .time-content {
        grid-template-columns: 1fr 1fr;
    }

    .overview-text,
    .learning-overview,
    .emotional-style,
    .decision-style,
    .creativity-style,
    .leadership-content p,
    .teamwork-style,
    .time-style {
        grid-column: 1 / -1;
    }
}

/* 移动端优化 */
@media (max-width: 767px) {
    .section {
        padding: 1.5rem;
    }

    .section h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .overview-text,
    .learning-overview,
    .emotional-style,
    .decision-style,
    .creativity-style,
    .leadership-content p,
    .teamwork-style,
    .time-style,
    .type-strengths,
    .learning-strengths,
    .learning-tips,
    .emotional-strengths,
    .emotional-tips,
    .decision-strengths,
    .decision-tips,
    .creativity-strengths,
    .creativity-tips,
    .leadership-strengths,
    .leadership-tips,
    .teamwork-strengths,
    .teamwork-tips,
    .time-strengths,
    .time-tips,
    .growth-item,
    .relationship-section {
        padding: 1.2rem;
    }

    .section li {
        font-size: 0.9rem;
    }
}

/* 删除所有 overview-text 类元素 */
.overview-text,
.learning-overview,
.emotional-style,
.decision-style,
.creativity-style,
.leadership-content p,
.teamwork-style,
.time-style {
    display: none !important;
}

/* 调整内容容器的布局，补偿移除的元素 */
.overview-content,
.learning-content,
.emotional-content,
.decision-content,
.creativity-content,
.leadership-content,
.teamwork-content,
.time-content {
    margin-top: 0;
}

/* 添加新的图标样式 */
.section h3 i,
.trait-card i,
.career-item i,
.action-btn i {
    display: inline-block;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.career-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--primary-color);
}

/* 调整图标容器样式 */
.career-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.work-style {
    background: white;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
}

.work-style h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.work-style p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.8rem 0;
}

.work-style ul {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0;
}

.work-style li {
    margin: 0.8rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.work-style li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .work-style {
        padding: 1.2rem;
    }
    
    .work-style h4 {
        font-size: 1rem;
    }
    
    .work-style p,
    .work-style li {
        font-size: 0.9rem;
    }
}